<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <title>查看附件</title>
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="format-detection" content="telephone=no" />
    <link rel="stylesheet" href="../../plugins/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="../css/view.css" />
</head>

<body>
    <div id="div_box" class="light">
        <a href="#" class="prev"><img src="../images/icon_arrow-up_light.png" alt="" width="28" height="31" /></a>
        <a href="#" class="next"><img src="../images/icon_arrow-down_light.png" alt="" width="28" height="31" /></a> </div>
    <div id="wrapper">
        <div id="main">
            <div class="section">
                <h1>营业执照</h1>
                <img lay-src="../../images/0.jpg" />
            </div>
            <div class="section">
                <h1>身份证正面</h1>
                <img lay-src="../../images/logo-1.png" />
            </div>
            <div class="section">
                <h1>身份证反面</h1>
                <img lay-src="../../images/xx.png" />
            </div>
            <div class="section">
                <h1>还款银行卡正面</h1>
                <img lay-src="../../images/a1.jpg" />
            </div>
            <div class="section">
                <h1>还款银行卡反面</h1>
                <img lay-src="../../images/a2.jpg" />
            </div>
        </div><!-- [END] #main -->
    </div><!-- [END] #wrapper -->
    <script src="../../js/jquery.min.js"></script>
    <script type="text/javascript" src="../../plugins/layui/layui.js"></script>
    <script type="text/javascript" src="../js/pagescroller.min.js"></script>
    <script>
    // var src = GetQueryString("");
    
    layui.use(['jquery', 'layer', 'flow'], function() {
        var $ = layui.jquery,
            layerTips = parent.layer === undefined ? layui.layer : parent.layer, //获取父窗口的layer对象
            layer = layui.layer, //获取当前窗口的layer对象;
            flow = layui.flow;

            flow.lazyimg();
    });


    $(document).ready(function(){
        var navLabel = new Array('营业执照', '身份证正面', "身份证反面", '还款银行卡正面', '还款银行卡反面');
            $('#main').pageScroller({ navigation: navLabel });
            $('.next').click(function(e){
                e.preventDefault();
                pageScroller.next();
            });
            $('.prev').click(function(e){
                e.preventDefault();
                pageScroller.prev();
            });
    });

    //获取参数
    function GetQueryString(key) {
        var href = window.location.href;
        var totalParam = href.split("?")[1];
        var params = totalParam.split("&");
        for (var i = 0; i < params.length; i++) {
            var param = params[i].split("=");
            if (param[0] == key) {
                return param[1];
            }
        }
        return '';
    }
    </script>
</body>

</html>
